package com.zwl.service;

import java.util.List;
import java.util.Map;

import com.zwl.po.PageBean;
import com.zwl.po.RolePo;

public interface RoleService {
	public List<RolePo> findByCondition(Map<String, Object> map);
	
	public RolePo findbyId(Integer id);
	
	public int saveRoleMenu(Integer roleId,List<Integer> menuIdList);
	
	public int updateRole(RolePo entity);
	
	public PageBean<RolePo> findPageByCondition(int pageIndex,int pageSize,Map<String, Object> map);
}
